package org.l.qiao.connect;

import java.sql.ResultSet;
import java.util.List;

public interface Connect {

	public void init();

	public boolean isReady();

	public void close();

	public ResultSet Query(String sql);

	public int Update(String sql);

	public void PS(String sql);

	public void setString(int index, String str);

	public void setInt(int index, int data);

	public ResultSet PSQuery();

	public int PSUpdate();

	@SuppressWarnings("rawtypes")
	public List Query(String sql, Class class1);

}
